window.vm = new Vue({
    el: '#app',
    data: {
        control: [],
        oneAll: [],
        username: [],
        respa: [],
        respa1: [],
        activeName: 'second',
        accepted: null,
        user_ticket: '',
        token: '',
        score: '',
        user: '',

    },
    methods: {

        openFile:function (){
            console.log(1111)
            window.open("image/image/HMJY1-SOP-IT-001企业邮箱使用指引.pdf")
            // <a :href="D:\Work\体系建设\HMJY1-SOP-IT-001企业邮箱使用指引.pdf">测试</a>
        },

        linkQuestion:function (){
            top.location.href = "create.html";
        },
        linkProcess:function (){
            top.location.href = "userProcess.html";
        },
        linkHelp:function (){
            top.location.href = "create.html";
        },

        linkApprove:function (){
            top.location.href = "approve.html";
        },
        handleClick(tab, event) {
            console.log(tab, event);
        },
        handleClick1() {
            top.location.href = "create.html";
            // console.log(tab, event);
            // alert(tab)
            // alert(event)
        },
        linkHandle:function (){
            top.location.href = "enProcess.html";
        },
        linkDesk:function (){
            top.location.href = "desk.html";
        },

    },
    created: function () {

        axios.get(
            "/getControl",
        ).then(function (res) {
            vm.control=res.data

            //console.log(vm.control);
            //console.log(vm.username);
        }).catch(e => {
            ajaxError(vm, e);
        });


     },
});